/**
 * Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.check.standardoil.entity;

import com.jeeplus.modules.sys.entity.User;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;
import lombok.Data;

/**
 * 油品检化验Entity
 * @author 刘明星
 * @version 2020-11-10
 */
@Data
public class CheckStandardOil extends DataEntity<CheckStandardOil> {
	
	private static final long serialVersionUID = 1L;
	@ExcelField(title="产线", align=2, sort=1)
	private String basicdataLine;		// 产线
	@ExcelField(title="作业区", align=2, sort=2)
	private String basicdataWorkRegion;		// 作业区
	@ExcelField(title="主体设备", align=2, sort=3)
	private String basicdataMainEquipment;		// 主体设备
	@ExcelField(title="部件", align=2, sort=4)
	private String basicdataPart;		// 部件
	@ExcelField(title="零件", align=2, sort=5)
	private String basicdataConponent;		// 零件
	@ExcelField(title="油品型号", align=2, sort=6)
	private String basicdataOilType;		// 油品型号
	@ExcelField(title="检验周期", align=2, sort=7)
	private String basicdataCheckPeriod;		// 检验周期
	@ExcelField(title="清洁度", align=2, sort=8)
	private String basicdataCleanlness;		// 清洁度
	@ExcelField(title="运动粘度", align=2, sort=9)
	private String basicdataSportViscosity;		// 运动粘度
	@ExcelField(title="酸值", align=2, sort=10)
	private String basicdataAuidValue;		// 酸值
	@ExcelField(title="水分", align=2, sort=11)
	private String basicdataWater;		// 水分
	@ExcelField(title="抗乳化", align=2, sort=12)
	private String basicdataRepelCreaming;		// 抗乳化
	@ExcelField(title="凝点", align=2, sort=13)
	private String basicdataCondensationPoint;		// 凝点
	@ExcelField(title="倾点", align=2, sort=14)
	private String basicdataPourPoint;		// 倾点
	@ExcelField(title="责任人", fieldType=User.class, value="basicdataDutyPeople.name", align=2, sort=15)
	private User basicdataDutyPeople;		// 责任人
	@ExcelField(title="检验人", fieldType=User.class, value="basicdataCheckMan.name", align=2, sort=16)
	private User basicdataCheckMan;		// 检验人
	@ExcelField(title="父类", align=2, sort=17)
	private String partDeviceId;		// 父类
	@ExcelField(title="用户", align=2, sort=18)
	private String userId;		// 用户
	@ExcelField(title="零件名称", align=2, sort=19)
	private String unitName;		// 零件名称
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ExcelField(title="油检起始时间", align=2, sort=20)
	private Date basicdataTime;		// 油检起始时间
	@ExcelField(title="流程实例id", align=2, sort=27)
	private String procInsId;		// 流程实例id
	
	public CheckStandardOil() {
		super();
	}

	public CheckStandardOil(String id){
		super(id);
	}
}